#include"Stack.h"



int main()
{
	ST s;
	STInit(&s);
	STPush(&s, 1);
	STPush(&s, 2);
	STPush(&s, 3);
	STPush(&s, 4);
	int size = STSize(&s);
	printf("%d\n", size);
	while (!STEmpty(&s))
	{
		STDataType top = STTop(&s);
		printf("%d\n", top);
		STPop(&s);
	}


	STDestory(&s);
	return 0;
}
